﻿using Super.Hmi.Enums;

namespace Super.Hmi.IServices
{
    /// <summary>
    /// MessageBox提示框服务接口类
    /// </summary>
    public interface IMessageBoxService
    {
        /// <summary>
        /// 显示MessageBox窗口
        /// </summary>
        /// <param name="message">信息</param>
        /// <param name="title">标题</param>
        /// <param name="button">需要显示的按钮</param>
        /// <param name="type">类型</param>
        /// <returns>返回他按下的按钮类型</returns>
        MessageBoxDialogResult ShowDialog(string message, string title, MessageBoxDialogButton button = MessageBoxDialogButton.YesNo, MessageBoxType type = MessageBoxType.Question);
    }
}
